package cn.mcartoon.dto;

/**
 * @author hys
 * @Description 作者信息包装类(mm_users表)
 * @date 2019/9/23 11:02
 * Version 1.0
 */
public class AuthorDto {

    public AuthorDto() {
    }

    public AuthorDto(Long userId, String userName, String faceUrl, Integer worksNum) {
        this.userId = userId;
        this.userName = userName;
        this.faceUrl = faceUrl;
        this.worksNum = worksNum;
    }

    private Long userId;
    //昵称
    private String userName;
    //头像
    private String faceUrl;
    //作品数
    private Integer worksNum;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFaceUrl() {
        return faceUrl;
    }

    public void setFaceUrl(String faceUrl) {
        this.faceUrl = faceUrl;
    }

    public Integer getWorksNum() {
        return worksNum;
    }

    public void setWorksNum(Integer worksNum) {
        this.worksNum = worksNum;
    }
}
